package com.sk.cardeal.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.sk.cardeal.R;
import com.sk.cardeal.entity.InListBean;
import com.sk.cardeal.entity.InListData;

import java.util.List;

/**
 * Created by sk on 2018/3/15.
 */

public class InListAdapter extends BaseQuickAdapter<InListData.ResultListBean,BaseViewHolder> {

    public InListAdapter(int layoutResId, @Nullable List<InListData.ResultListBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, InListData.ResultListBean item) {
        helper.setText(R.id.tv_num,item.getCode());
    }
}
